import { XrequestInstance } from "@/utils/request"
export function postAddRoleData(data) {
  return XrequestInstance.request({
    url: "/addRole",
    method: "post",
    data
  })
}
export function getMenuByRoleId(data) {
  return XrequestInstance.request({
    url: "/getMenuByRoleId",
    method: "post",
    data
  })
}
